// ------------------------------- button ----------------------------------------------------------------------------------------------------------------------------------------
// 默认按钮
.ant-btn-default {
    border-radius: 2px;
}


// 主按钮
.ant-btn-primary {
    background-color: rgba(24, 144, 255, 1);
    border-radius: 2px;
}

// 主按钮 危险
.ant-btn-primary.ant-btn-dangerous {
    background-color: rgba(255, 77, 79, 0.8);
    border-radius: 2px;
    color: #FFFFFF;
}

// 主按钮 残留
.ant-btn-primary.ant-btn-background-ghost {
    border-color: #1890FF;
    border-radius: 2px;
    color: #1890FF;
}

// ------------------------------- upload ----------------------------------------------------------------------------------------------------------------------------------------
.ant-upload-wrapper .ant-upload {
    width: 100%;
}

// ------------------------------- modal ----------------------------------------------------------------------------------------------------------------------------------------
.ant-modal .ant-modal-content {
    padding: 0;
}

// ------------------------------- message ----------------------------------------------------------------------------------------------------------------------------------------
// // 全局提示卡片颜色
// .ant-message-notice .ant-message-notice-content {
//     background-color: rgba(128, 106, 64, 0.9);

//     color: rgba(255, 255, 255, 0.85);
// }

// // 全局提示状态图标-成功
// .ant-message-notice .ant-message-success .anticon {
//     color: #E6BF73;
// }

// // 全局提示状态图标-错误
// .ant-message-notice .ant-message-error .anticon {
//     color: #E67B45;
// }


// ------------------------------- input ----------------------------------------------------------------------------------------------------------------------------------------
.ant-input {
    height: 32px;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.65);
}

.ant-input-affix-wrapper {
    border-radius: 2px;
}

// ------------------------------- inputNumber ----------------------------------------------------------------------------------------------------------------------------------------
// 输入框,数字输入框


.ant-input-number,
.ant-input-number .ant-input-number-input {
    width: 100%;
    color: rgba(0, 0, 0, 0.65);
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0);
    height: 30px;
    line-height: 30px;
}

// 数字输入框按钮背景色
.ant-input-number .ant-input-number-handler-wrap {
    background-color: #FFFFFF;
    border-radius: 2px;
}

// 数字输入框按钮

.ant-input-number-handler {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0.15);
}

// 数字输入框按钮上,下
.ant-input-number .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,
.ant-input-number .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {
    color: rgba(0, 0, 0, 0.15);
}


// ------------------------------- select ----------------------------------------------------------------------------------------------------------------------------------------
// 选择框
.ant-select {
    height: fit-content;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
    height: 32px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {
    height: 32px;
}

.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border-radius: 2px;
}

.ant-select-outlined.ant-select-multiple .ant-select-selection-item {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    gap: 17px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
}

//下拉框
.ant-select-dropdown {
    border-radius: 2px;
    padding: 0;
}

// ------------------------------- datePicker ----------------------------------------------------------------------------------------------------------------------------------------
.ant-picker {
    width: 100%;
    border-radius: 2px;
}

// ------------------------------- checkbox ----------------------------------------------------------------------------------------------------------------------------------------
.ant-checkbox .ant-checkbox-inner {
    border-color: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

// 文字
.ant-checkbox-wrapper {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
}

// 选中框
.ant-checkbox-checked .ant-checkbox-inner {
    background-color: #1890FF;

    border: none;
}

// ------------------------------- radio ----------------------------------------------------------------------------------------------------------------------------------------
// 单选框组
.ant-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
}

// 单选框 选中
.ant-radio-wrapper .ant-radio-checked .ant-radio-inner {
    border-color: #1890FF;
    background-color: #FFFFFF;
}

// 单选框 选中 小圆点
.ant-radio-wrapper .ant-radio-inner::after {
    width: 20px;
    height: 20px;
    margin-block-start: -10px;
    margin-inline-start: -10px;
    background-color: #1890FF;
}

// 单选框 项
.ant-radio-wrapper {
    color: rgba(0, 0, 0, 0.65);
    word-break: break-all;
}

// ------------------------------- popconfirm ----------------------------------------------------------------------------------------------------------------------------------------
// // 确认框主体
.ant-popover .ant-popover-inner {
    padding: 0;
}

// 分割线
.ant-table-wrapper .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before,
.ant-table-wrapper .ant-table-thead>tr>td:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
    display: none;
}

// 表格默认滚动样式
.ant-table-wrapper .ant-table-cell-scrollbar:not([rowspan]) {
    box-shadow: none;
}

// 表头第一个和最后一个单元格

.ant-table-wrapper .ant-table .ant-table-title,
.ant-table-wrapper .ant-table .ant-table-header,
.ant-table-wrapper .ant-table-container table>thead>tr:first-child th:first-child,
.ant-table-wrapper .ant-table-container table>thead>tr:first-child th:last-child {
    border-radius: 0;

}

.ant-table-wrapper .ant-table-tbody .ant-table-row>.ant-table-cell-row-hover {
    background-color: rgba(0, 0, 0, 0);
}

// ------------------------------- form ----------------------------------------------------------------------------------------------------------------------------------------
.ant-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0 40px;
}

.ant-form-item-with-help .ant-form-item-explain {
    white-space: nowrap;
}

// ------------------------------- cascader ----------------------------------------------------------------------------------------------------------------------------------------
.ant-cascader-dropdown {
    padding: 0;

    // 菜单
    .ant-cascader-menu {
        padding: 4px 8px 8px;
    }

    // 字条
    .ant-cascader-menu-item {
        margin-top: 4px;
        padding: 0;
    }

    // 图标
    .ant-cascader-menu-item.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,
    .ant-cascader-menu-item .ant-cascader-menu-item-loading-icon {
        display: none;
    }

}